<%--
  Created by IntelliJ IDEA.
  User: 86135
  Date: 2021-12-13
  Time: 17:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>注册</title>
    <%@ include file="/page/menu/head.jsp" %>
</head>
<body>
    <div id="header">
        <span class="wel_word">请进行注册</span>
        <div>
            <a href="index.jsp">返回首页</a>
        </div>
    </div>
    <div id="main">
        <div style="text-align: center">
            <span class="errorMsg">
                <div class="msg_cont">
                <b></b>
                <span class="errorMsg">
                    ${  empty requestScope.msg ? "请输入注册信息":requestScope.msg }
                </span>
                </div>
            </span>
            <form method="post" action="UserServlet">
                <input type="hidden" name="action" value="regist">
                <label>用户名：</label>
                <input type="text" placeholder="用户名" name="username"
                       value="${requestScope.username}"><br><br>
                <label>密码：</label>
                <input type="text" placeholder="密码" name="password"><br><br>
                <label>确认密码：</label>
                <input type="text" placeholder="确认密码" name="repassword"><br><br>
                <label>邮箱：</label>
                <input type="text" placeholder="邮箱" name="email"
                       value="${requestScope.email}"><br><br>
                <input type="submit" value="注册">
            </form>
        </div>
    </div>

</body>
</html>
